<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" name="viewport" />

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta content="yes" name="apple-mobile-web-app-capable" /> 
<meta content="black" name="apple-mobile-web-app-status-bar-style" />
<meta content="telephone=no" name="format-detection" />
<link rel="stylesheet" type="text/css" href="/static/mobile/css/css.css" />
<link rel="stylesheet" type="text/css" href="/static/mobile/css/content.css" />
<link rel="stylesheet" type="text/css" href="/static/mobile/css/layout.css" />
<link rel="stylesheet" type="text/css" href="/static/mobile/css/common.css" />
<title><?php echo CON_WEBNAME;?></title>
<script>
function formSubmit(){
	document.getElementById("subbuttondiv").style.display='none';
	document.getElementById("tender_form").submit();
}
</script>
</head>

<body>
<!--头部开始-->
<div class="top">
<!--	<img src="/static/mobile/images/ychapplogo.png">-->
    我要理财
    <a href="javascript:history.go(-1)" class="new-a-back">
    	<span>返回</span>
    </a>
</div>
<!--头部结束-->

<!--主体内容开始-->
<div class="money-list qjys">
<div class="tbsz">
  	<p>总借款金额：<span><?php echo number_format($borrow['account'],2);?></span>元</p>
    <p class="fu-d">最低限额：<span><?php echo number_format($borrow['lowest_account'],2);?></span>元</p>
    <p class="fu-d" style="margin-left:27px;">还差：<span><?php echo number_format($borrow['account']-$borrow['account_yes'],2);?></span>元</p><br />
    <p>可用余额：<span><?php echo number_format($user_account['use_money'],2);?></span>元</p>
</div>    
    <div class="clearfloat"></div>
<form id="tender_form" method="post" action="/mobile/borrow/tender">
<div class="tb-box">
	<input type="hidden" id="id" name="id" value="<?php echo $borrow['id'];?>" />
	<p>投标金额：</p><input type="text" class="txt" id="account" name="account" />
    <?php if($tuser_account['paypassword'] == ''){?>
    <div class="tb-btn" style="margin-top:30px;"><a href="/mobile/paypwd.html">设置支付密码</a></div>
    <?php }else{?>
    <p style="margin-top:10px;">支付密码：</p>
    <input type="password" class="txt" id="paypassowrd" name="paypassword"  />
    <?php }?>
</div>
<?php if($tuser_account['paypassword'] != ''){?>
<div id="subbuttondiv" class="tb-btn" style="margin-top:30px;">
<a href="javascript:formSubmit();">投标</a>
</div>
<?php }?>
</form>

</div>
<!--主体内容结束-->

<!--底部信息开始-->
<footer class="bottom-nav">
	<ul class="ulnav">
    	<li class="active"><a href="/mobile/borrow/index.html"><span class="icon lc"></span>
        <span>我要理财</span>
        </a></li>
    	<li><a href="/mobile/ucenter/index.html"><span class="icon zh"></span>
        <span>我的账号</span>
        </a></li>
    	<li><a href="/mobile/account/account_list.html"><span class="icon jy"></span>
        <span>交易记录</span>
        </a></li>
    	<li><a href="/mobile/notices/index.html"><span class="icon sm"></span>
        <span>公告说明</span>
        </a></li>
    </ul>
</footer>
<div style="display:none;">
<script type="text/javascript">
var _bdhmProtocol = (("https:" == document.location.protocol) ? " https://" : " http://");
document.write(unescape("%3Cscript src='" + _bdhmProtocol + "hm.baidu.com/h.js%3Fbddfbd985badab4bfe8fee07203cc21e' type='text/javascript'%3E%3C/script%3E"));
</script>
<script src="http://s11.cnzz.com/stat.php?id=4565714&web_id=4565714&show=pic" language="JavaScript"></script>
</div>
<!--底部信息结束-->
</body>
</html>
